﻿using com.guojin.core.io.message;
using System.Collections;
using System.Collections.Generic;
using com.guojin.core.io;
using UnityEngine;
using System;

namespace com.guojin.mj.net.message.login
{

    public class GetClubInfo : Message
    {
        public static int TYPE = 7;
        public static int ID = 73;
        private string id;
        public static GetClubInfo cretae(string _id) {
            GetClubInfo gc = new GetClubInfo();
            gc.id = _id;
            return gc;
        }
        public string Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public void decode(core.io.Input _in)
        {
            
        }

        public void encode(Output _out)
        {
            _out.writeString(id);
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public int getMessageId()
        {
            return ID;
        }

        public string toString()
        {
            return id.ToString(); 
        }
    }
}